package com.qqtech.qquan.sales.service;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.core.frame.service.BaseServiceImpl;

import com.qqtech.qquan.sales.dao.SalesSysParamDao;
import com.qqtech.qquan.sales.model.*;

@Service
public class SalesSysParamServiceImpl extends BaseServiceImpl<SalesSysParam>
		implements SalesSysParamService {
	public static final Logger log = LoggerFactory.getLogger(SalesSysParamServiceImpl.class);
	
	@Resource
	private SalesSysParamDao salesSysParamDao;

	@Override
	protected BaseDao<SalesSysParam> getBaseDao() {
		return salesSysParamDao;
	}
	
	@Override
	public SalesSysParam getByKey(java.lang.String key) {
		return salesSysParamDao.getByKey(key);
	}	
}